package cn.besbing.server.service.primary;

import cn.besbing.model.entities.primary.NcBasprodName;
import cn.besbing.model.entities.primary.NcBasprodNameExample;
import cn.besbing.model.mapper.primary.NcBasprodNameMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class primaryNcBasprodNameServiceImpl implements NcBasprodNameMapper {
    
    @Autowired(required = false)
    NcBasprodNameMapper ncBasprodNameMapper;
    
    @Override
    public long countByExample(NcBasprodNameExample example) {
        return ncBasprodNameMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(NcBasprodNameExample example) {
        return ncBasprodNameMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(String pkBasprodName) {
        return ncBasprodNameMapper.deleteByPrimaryKey(pkBasprodName);
    }

    @Override
    public int insert(NcBasprodName record) {
        return ncBasprodNameMapper.insert(record);
    }

    @Override
    public int insertSelective(NcBasprodName record) {
        return ncBasprodNameMapper.insertSelective(record);
    }

    @Override
    public List<NcBasprodName> selectByExample(NcBasprodNameExample example) {
        return ncBasprodNameMapper.selectByExample(example);
    }

    @Override
    public NcBasprodName selectByPrimaryKey(String pkBasprodName) {
        return ncBasprodNameMapper.selectByPrimaryKey(pkBasprodName);
    }

    @Override
    public int updateByExampleSelective(NcBasprodName record, NcBasprodNameExample example) {
        return ncBasprodNameMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(NcBasprodName record, NcBasprodNameExample example) {
        return ncBasprodNameMapper.updateByExample(record, example);
    }

    @Override
    public int updateByPrimaryKeySelective(NcBasprodName record) {
        return ncBasprodNameMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(NcBasprodName record) {
        return ncBasprodNameMapper.updateByPrimaryKey(record);
    }
}
